//面包屑
const path = ['仓库管理', '出库管理', '销售出库列表'];
//搜索条件
const filterOption = {
	items: [{
		label: "关键字",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "keyWord"
	},
	{
		label: "发货出库",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "deliveryPlatform"
	},
	{
		label: "出库单类型",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "orderType"
	},
	{
		label: "来源渠道",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "originChannel"
	},
	{
		label: "出库单状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "billStatus"
	},
	{
		label: "是否签名",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "isSign"
	},
	{
		label: "是否开票",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "isInvoice"
	},
	{
		label: "创建日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "createTime"
	},
	{
		label: "出库日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "outStorageTime"
	}],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//状态类型
const configArr = [
	{
        color: "brown",
        label: "全部售后出库单",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待出库",
        value: "type2",
        count: 300
    },
]
//售后出库单列表
const tableHeaderData = [
	{
		prop:'typeDict.value',
		label:'单据类型',
		width:''
	},
	{
		prop:'saleAfterNumber',
		label:'售后订单',
		width:''
	},
	{
		prop:'customNumber',
		label:'定制编码',
		width:''
	},
	{
		prop:'originChannel',
		label:'来源渠道',
		width:''
	},
	{
		prop:'deliveryPlatform',
		label:'发货平台',
		width:''
	},
	{
		prop:'isSign',
		label:'是否签名',
		width:''
	},
	{
		prop:'isInvoice',
		label:'开票状态',
		width:''
	},
	{
		prop:'statusDict.value',
		label:'单据状态',
		width:''
	},
	{
		prop:'printNo',
		label:'打印次数',
		width:''
	},
	{
		prop:'createBy',
		label:'创建人',
		width:''
	},
	{
		prop:'createTime',
		label:'创建时间',
		width:''
	},
	{
		prop:'remark',
		label:'备注',
		width:''
	},

]
//表格数据
const tableData = [];
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject,
				configArr,
				filterOption: filterOption,
				tableHeaderData,							//售后出库单列表（表头）
				InvoiceVisible:false,						//开票弹窗
				RedinvoiceVisible:false,					//红冲发票弹窗
				filterOptionData:undefined,
			}
		}
	}
}
export default Model;
